package com.xuecheng.api;

import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.commons.model.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ty
 */
@FeignClient("xc-system-service")
public interface UserClient {

    @GetMapping("/user")
    public ResponseResult<UserVo> findById(Long id);
}
